package com.etc.dao;

import com.etc.entity.Bookstype;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface BookstypeMapper {
    int deleteByPrimaryKey(Integer btId);

    int insert(Bookstype record);

    Bookstype selectByPrimaryKey(Integer btId);

    int updateByPrimaryKey(Bookstype record);

    /**
     * 查询图书类型
     */
    List<Bookstype> selectAllType();
}
